import {createStore, combineReducers} from 'redux';
import todoReducer from './todoList/reducer';
import filterReducer from './filter/reducer';

const reducer = combineReducers({
    todos: todoReducer,
    filter: filterReducer
});
export default createStore(
    reducer,
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);